{% extends 'base.html' %}
{% load static %}
{% block main %}
    <table style="width: 80%;margin: 0 auto; table-layout: fixed;">
        <tr>
            <td>
                订单编号
            </td>
            <td class="th-inner">
                订单价格
            </td>
            <td class="th-inner">
                购买时间
            </td>
            <td class="th-inner">订单状态
            </td>
            {% for order in orderInfos %}
                <tr>
                    <td>{{ order.id }}</td>
                    <td>￥{{ order.price }}</td>
                    <td>{{ order.create_time }}</td>
                    <td>{{ order.state }}</td>
                </tr>
            {% endfor %}
    </table>
{% endblock main %}
